﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BLL.BussinessClass;
using Model;

namespace AlltrustDinner.Pages.Admin
{
    /// <summary>
    /// OrderManagementProcess 的摘要说明
    /// </summary>
    public class OrderManagementProcess : HttpHandlerProcess, IHttpHandler
    {
        private string result;
        public void ProcessRequest(HttpContext context)
        {

            this.GetQueryParam(context);
            switch (cmd)
            {
                case "editOrder":
                    result = this.UpdateOrder(queryParam["order_info"]);
                    break;
                default:
                    break;
            }


            context.Response.ContentType = "text/plain";
            context.Response.Write(this.Serializer.Serialize(result));
        }

        private string UpdateOrder(Dictionary<string, string> para)
        {

            OrderBiz biz = new OrderBiz();


            return "1";
   
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}